﻿using System;
using System.Data;
using System.Text;
using System.Collections.Generic;
using VeMayBayDTO;
namespace VeMayBayDAO
{
   public  class MayBayDAO
    {
       public static List<MayBayDTO> GetMayBayAll()
       {
           List<MayBayDTO> list = new List<MayBayDTO>();
           return list;
       }
       public static DataTable GetMayBay()
       {
           string query = "select * from MayBay";
           DataTable dt = DataProvider.ExecQuery(query);
           return dt;
       }
       
       public static int GetTongSLGhe()
       {
           return 1;//
       }
       public static MayBayDTO GetMaybayById(string id)
       {
           MayBayDTO mb = new MayBayDTO();
           return mb;
       }
       public static bool Them(MayBayDTO mb)
       {
           return true;
       }
       public static bool CapNhap(MayBayDTO mb)
       {
           return true;
       }
       public static bool Huy(string id)
       {
           return true;
       }
    }
}
